Builder

Builder class for androidx.core.app.RemoteInput objects.

Constructors

Link copied to clipboard
constructor(@NonNull resultKey: String)
Create a builder object for androidx.core.app.RemoteInput objects.

Functions

Link copied to clipboard
Merge additional metadata into this builder.
Link copied to clipboard
Combine all of the options that have been set and return a new object.
Link copied to clipboard
Get the metadata Bundle used by this Builder.
Link copied to clipboard
Specifies whether the user can provide arbitrary values.
Link copied to clipboard
open fun setAllowFreeFormInput(allowFreeFormTextInput: Boolean): RemoteInput.Builder
Specifies whether the user can provide arbitrary text values.
Link copied to clipboard
Specifies choices available to the user to satisfy this input.
Link copied to clipboard
open fun setEditChoicesBeforeSending(editChoicesBeforeSending: Int): RemoteInput.Builder
Specifies whether tapping on a choice should let the user edit the input before it is sent to the app.
Link copied to clipboard
Set a label to be displayed to the user when collecting this input.